﻿@model IList<Forest.Cat.Web.Models.Catalog.JobPositionModel>
<table id="listJobs" cellspacing="0" border="0" style="width: 100%; border-collapse: collapse;">
    @*@{
            int rows = Model.Count;

            for (int i = 1; i <= rows; i++) {
                var item = Model[i - 1];
            <td class="jobbg">
                @Html.ActionLink(item.JobTitle, "JobView", "CataLog", new { id = item.Id }, null)
            </td>
                                                   
                if (i % 2 == 0 && i != 0) {
            @Html.Raw("</tr><tr>");
                }
            }
                                                  
        }*@
    @{           

        foreach (var item in Model) {
        <tr>
            <td class="jobbg">
                @Html.ActionLink(item.JobTitle, "JobView", "CataLog", new { id = item.Id }, null)
            </td>
        </tr>                                             
              
        }
    }
</table>
